package chixing.day15.homework.work5;

public class Test {
    public static void main(String[] args) {
        LRUCache lruCache = new LRUCache();
        lruCache.put(1,1);
        lruCache.put(2,2);
        System.out.println(lruCache.get(1));
        lruCache.put(2,102);
        lruCache.put(3,3);
        System.out.println(lruCache.get(1));
        System.out.println(lruCache.get(2));
        System.out.println(lruCache.get(3));
        System.out.println("----------------");
        lruCache.displayMap();
        System.out.println("=================");
        lruCache.displayContMap();
    }
}
